PrizmDoc
Linux

The included script ./pas/pm2/pas.sh can be used to start and stop the PrizmDoc Application Services (PAS). The following examples assume the default install location. If you did not install it to the default location, replace /usr/share/prizm with the location to which you installed it.

Start

Example
Copy Code
/usr/share/prizm/pas/pm2/pas.sh start

Stop

Example
Copy Code
/usr/share/prizm/pas/pm2/pas.sh stop

Including PAS to the Boot Sequence

You can also configure PAS to be started/stopped together with the system in two steps:

  1. Create a symbolic link to the ./pas/pm2/pas.sh in the /etc/init.d/ directory:
Example
Copy Code
ln -s /usr/share/prizm/pas/pm2/pas.sh /etc/init.d/pas
  1. Register PAS as an init script, so that it is managed by the system. This step is platform-dependent.

RedHat / Cent OS

Example
Copy Code
chkconfig --add pas

Debian / Ubuntu

Example
Copy Code
update-rc.d pas defaults

Once done, the system should stop PAS when going to reboot or shutdown, and will be started again when booting the server.

After the first step, you can use the service command to manage PAS instead of invoking the script directly. That way even if you don’t need PAS to be automatically started/stopped, you may want to complete the first step to be able to more easily manage it.

The syntax is as follows:

Example
Copy Code
service pas start|stop|restart|status

Excluding PAS to the Boot Sequence

If you want to prevent PAS from starting/stopping together with the system, you need to revert Step 2 from the section above. It is done as follows:

RedHat /  CentOS

Example
Copy Code
chkconfig --del pas

Debian / Ubuntu

Example
Copy Code
update-rc.d -f pas remove

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback